package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.BpmnInfo;
import cn.wolfcode.car.business.domain.Statement;
import cn.wolfcode.car.business.query.StatementQuery;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface StatementMapper extends BaseMapper<Statement> {
    int deleteByPrimaryKey(Long id);

    int insert(Statement record);

    Statement selectByPrimaryKey(Long id);

    List<Statement> selectAll();
    List<Statement> selectByCondition(StatementQuery statementQuery);

    int updateByPrimaryKey(Statement record);

    Statement selectByAppointmentId(Long appointmentId);
}